/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package bean;

import java.io.Serializable;
import java.math.BigDecimal;


/**
 *
 * @author Ovidio Alonso Zapata
*/
public class Pull implements Serializable {
    private static final long serialVersionUID = 1L;

    private BigDecimal idPull;

    private String descripcion;

    public Pull() {
    }

    public Pull(BigDecimal idPull) {
        this.idPull = idPull;
    }

    public BigDecimal getIdPull() {
        return idPull;
    }

    public void setIdPull(BigDecimal idPull) {
        this.idPull = idPull;
    }

    public String getDescripcion() {
        return descripcion;
    }

    public void setDescripcion(String descripcion) {
        this.descripcion = descripcion;
    }

    @Override
    public int hashCode() {
        int hash = 0;
        hash += (idPull != null ? idPull.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof Pull)) {
            return false;
        }
        Pull other = (Pull) object;
        if ((this.idPull == null && other.idPull != null) || (this.idPull != null && !this.idPull.equals(other.idPull))) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "bean.Pull[idPull=" + idPull + "]";
    }

}
